package com.yequan.mq.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @author yq
 * @date 2020/09/30
 */
@PropertySource({"classpath:application.properties"})
@ConfigurationProperties(prefix = "calc.service")
public class Properties {

    private String exeRootPath;

    private String fileRootPath;

    private String host;

    private String username;

    private String password;

    private Integer port;


    public String getExeRootPath() {
        return exeRootPath;
    }

    public Properties setExeRootPath(String exeRootPath) {
        this.exeRootPath = exeRootPath;
        return this;
    }

    public String getFileRootPath() {
        return fileRootPath;
    }

    public Properties setFileRootPath(String fileRootPath) {
        this.fileRootPath = fileRootPath;
        return this;
    }

    public String getHost() {
        return host;
    }

    public Properties setHost(String host) {
        this.host = host;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public Properties setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public Properties setPassword(String password) {
        this.password = password;
        return this;
    }

    public Integer getPort() {
        return port;
    }

    public Properties setPort(Integer port) {
        this.port = port;
        return this;
    }

}
